package com.hzw.saas.api.hpc.bo;

import cn.afterturn.easypoi.excel.annotation.Excel;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.util.ArrayList;
import java.util.List;

/**
 * <p>
 * 完整的HPC信息DTO
 * </p>
 *
 * @author sonam
 * @since 2021/6/9 15:22
 */
@Data
@Accessors(chain = true)
@ApiModel("完整的HPC信息带合同信息")
public class HpcAccountInfoContractFullBO extends HpcAccountInfoFullBo implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "过期天数,可以为空")
    @Excel(name = "剩余天数", width = 15, orderNum = "7")
    private Long expireDay;

    @ApiModelProperty(value = "绑定的合同信息")
    private List<HpcContractExtBO> hpcContracts = new ArrayList<>();

    @Excel(name = "绑定合同", width = 20, orderNum = "99")
    private String contractStateText;
}
